﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GuanYijia.DoMain
{
    /// <summary>
    /// 租户
    /// </summary>
    public class Tenant
    {
        [Key]
        //主键
        public int tenant_id { get; set; }
        //用户id
        public int userId { get; set; }
        //登录名
        [StringLength(100)]
        public string? login_name { get; set; }
        //用户数量限制
        public int? user_num_limit { get; set; }
        //单据数量限制
        public int? bills_num_limit { get; set; }
        //启用 0-禁用  1-启用
        public bool enabled { get; set; }   
        //创建时间
        public DateTime? create_time { get; set; }
        public bool IsDeleted { get; set; } = false;
    }
}
